package com.atguigu.mybatis_plus.pojo;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @Auther: LIJingQi
 * @Description: 实体类
 * @Date: 2022/5/21 16:44
 */
@Data
public class Product {
    private Long id;
    private String name;
    private Integer price;
    @Version //标识乐观锁版本号字段
    private Integer version;
}

